using System;
using System.Collections.Generic;
using System.Text;

namespace LoggingClient
{
    public class TraceLogger
    {
        private static Logger instance;
        public static Logger Instance
        {
            get
            {
                if (instance == null)
                {
                    instance = new Logger();
                    instance.Init("Trace");
                    instance.Info("Init Trace");
                }

                return instance;
            }
        }

        public static void SetTraceLogger(Logger instanceTemp)
        {
                instance = instanceTemp;
                instance.Info("SetTraceLogger");
            
        }
    }
}
